// import { trim, isEmpty } from 'lodash';
// import { Op } from 'sequelize';
import BaseController from './base';
import RoomTypeModel from '../models/room-type';
import DepositRuleModel from '../models/deposit-rule';

// order docs https://sequelize.org/docs/v6/core-concepts/model-querying-basics/
class RoomTypeController extends BaseController {
  getModel() {
    return RoomTypeModel;
  }

  getInclude() {
    return {
      include: [{
        model: DepositRuleModel,
        as: 'deposit_rule'
      }]
    }
  }
}

export default new RoomTypeController();
